package com.tanhua.dubbo.api;


import com.tanhua.dubbo.mapper.DimensionsMapper;
import com.tanhua.model.LinHun.Dimensions;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@DubboService
public class DimensionsApiImpl implements DimensionsApi {

    @Autowired
    private DimensionsMapper dimensionsMapper;

    @Override
    public List<Dimensions> findAll() {
        List<Dimensions> list = dimensionsMapper.selectList(null);
        return list;
    }
}
